<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
    String path = request.getContextPath();
%>
<html>
<head>
    <meta charset="utf-8">
    <title>等你回家</title>
    <!-- Favicon -->
    <link href="<%=path %>/web/index/css/style.css" rel="stylesheet" type="text/css" media="all"/>
    <link rel="icon" href="<%=path%>/web/static/images/favicon.png" type="image/png" sizes="32x32">
    <link href="<%=path%>/web/index/css/inc.css" rel="stylesheet" type="text/css" media="all"/>

    <!-- All CSS -->
    <link rel="stylesheet" href="<%=path%>/web/static/css/bootstrap.min.css">
    <link rel="stylesheet" href="<%=path%>/web/static/css/style.css">
</head>
<body>
<div class="banner-in1">
    <div class="container1">
        <h6>寻亲登记 / <span> </span></h6>
    </div>
</div>
<!--header-->
<div class="header1">
    <div class="container1">
        <div class="logo1">
            <a href="<%=path %>/web/index"><img src="<%=path %>/web/index/images/logo.png" alt=" "/></a>
        </div>
        <div class="top-nav1">
            <span class="menu1"> </span>
            <ul>
                <li class="active" ><a href="${pageContext.request.contextPath}/web/index" class="scroll">首页</a></li>
                <li><a href="<%=path %>/web/information/chooseType" class="scroll">你在哪儿</a></li>
                <li><a href="<%=path %>/web/information/informationList?lostTypeId=0" class="scroll">我想回家</a></li>
                <li><a href="<%=path %>/web/blogger/blog" class="scroll">日志论坛</a></li>
                <li><a href="<%=path %>/web/task/releaseTask" class="scroll">任务列表</a></li>
                <c:if test="${empty(sessionScope.userinfo)}" var="result">
                    <li><a href="<%=path %>/web/userinfo/register" class="scroll">注册</a>|<a href="<%=path %>/web/userinfo/login" class="scroll">登录</a></li>
                </c:if>
                <c:if test="${not result}">
                    <li><a href="<%=path%>/web/userinfo/applyVolunteer" class="scroll">加入我们</a></li>
                    <c:if test="${(sessionScope.userinfo.username eq '')||(sessionScope.userinfo.username eq NULL)}" var="result">
                        <span style="color:white">欢迎<a href="<%=path %>/web/userinfo/index" style="color: white" href="">${sessionScope.userinfo.phone}</a></span>
                    </c:if>
                    <c:if test="${not result}">
                        <span style="color:white">欢迎<a href="<%=path %>/web/userinfo/index" style="color: white" href="">${sessionScope.userinfo.username}</a></span>
                    </c:if>
                    <span style="color: white">|</span>

                    <span style="color:white"><a style="color: white" href="<%=path %>/web/userinfo/logout">注销</a></span>
                    <span style="color: white">|</span>
                    <label><img style="width:30px;height: 30px" src="<%=path %>/web/uploadImages/${sessionScope.userinfo.pic}"></label>
                </c:if>
            </ul>
        </div>
        <div class="clearfix1"></div>
    </div>
</div>

<main class="main-content-area clearfix">
    <div class="post-job-area pb-100 pt-100">
        <div class="container">
            <div class="row">
                <div class="col-md-12">
                    <div class="lost-type post-form form-bg" style="border-bottom: #979797 1px solid;">
                        <ul>
                            <li>1.选择登记类型</li>
                            <li>2.填写信息登记</li>
                            <li class="select">3.完成登记</li>
                        </ul>
                    </div>
                    <div class="lost-type post-form form-bg" style="height:500px">
                        <div style="height:150px;text-align:center">
                            <img width="120px" height="120px" src="<%=path %>/web/static/images/log_success.png">
                        </div>
                        <div style="font-size: 16px;font-weight: bold; margin-top: 10px;line-height: 40px;color: #333333;text-align: center">
                            你已发布成功,系统会在空闲时间为你自动匹配，稍后可在个人中心查看！
                            <a href="javascrpt:void(0)"><span id="sec">5</span> 秒后跳转页面</a>
                        </div>
                        <div style="font-size: 16px;font-weight: bold; margin-top: 10px;line-height: 40px;color: #333333;text-align: center">
                            <a href="<%=path %>/web/index" style="color:#ff8b3d;">如果您的浏览器没有自动跳转，请点此链接</a>
                        </div>

                    </div>
                </div>
            </div>
        </div>
    </div>
</main>
<!--footer-area-start -->
<footer>
    <div class="footer" style="height: 230px;">
        <div class="container" style="margin-top: -40px;">
            <p style="font-size: 15px;"><span style="font-size: 20px;">等你回家</span><span>邮箱:1111111@163.com</span>
                电话:0532—85025005</p>
            <p class="footer-class" style="font-size:15px;margin-top: -75px;">地址:山东省青岛市市南区中联创意广场B1栋三楼 <a
                    href="http://w3layouts.com/" target="_blank">万码学堂</a></p>
            <p class="footer-class" style="font-size:15px;margin-top: -60px;text-transform: none">Copyright © 2019
                www.dengnihuijia.com All rights Reserved.</p>
        </div>
    </div>
</footer>

<script src="<%=path %>/web/static/js/modules/jquery-3.4.1.min.js"></script>
</body>
</html>
<script type="text/javascript">
    $(function () {
        setTimeout("lazyGo();", 1000);
    });
    function lazyGo() {
        var sec = $("#sec").text();
        $("#sec").text(--sec);
        if (sec > 0)
            setTimeout("lazyGo();", 1000);
        else
            window.location.href = "<%=path %>/web/index";
    }
</script>


